<%@ page isELIgnored="false"%>
<%@ page language="java" contentType="text/html; charset=utf-8"  
    pageEncoding="UTF-8"%>  
<%@taglib prefix="s" uri="/struts-tags" %>
<jsp:include page="../../iframecommon.jsp"></jsp:include>
<table>
  <tr>
  <td></td>
  <td></td>
    
  </tr>

</table>
<%-- 

<s:if test="vas.size()>0">
<table>
<tr>
<td>序号</td>
<td>课程班级</td>
<td>教师</td>
<td>作业详情</td>
<td>分数</td>
<td>评语</td>
</tr>
<s:iterator value="vas" id="vas" status="st">
<s:if test="#vas.status==1">
<tr>
<td><strong>${st.index+1}</strong></td>
<td><strong><a href="message_assignDetails?assignmentid=<s:property value='assignmentid'/>"><s:property value="cname" /><s:property value="csn" />班</a></strong></td>
<td><strong><s:property value="teacher" /></strong></td>
<td><strong><s:property value="description" /></strong></td>
<td><strong><s:property value="score" /></strong></td>
<td><strong><s:property value="pingyu" /></strong></td>
</tr>
</s:if>
<s:else>
<tr>
<td>${st.index+1}</td>
<td><a href="message_assignDetails?assignmentid=<s:property value='assignmentid'/>"><s:property value="cname"/><s:property value="csn" /></td>
<td><s:property value="teacher" /></td>
<td><s:property value="description" /></td>
<td><s:property value="score" /></td>
<td><s:property value="pingyu" /></td>
</tr>
</s:else>
</s:iterator>
</table>
共<s:property value='vas.size'/>条
</s:if>
<s:else>
没有更多的消息
共<s:property value='vas.size'/>条
</s:else> --%>




<div class="main-box clearfix">
<header class="main-box-header clearfix">
<div class="alert alert-info">作业批改结果反馈通知|      共<s:property value='vas.size'/>条
|    <a href="message_listAssignMessages?checkCondition=1"><span class="label label-warning">查看未读消息</span></a>
|    <a href="message_listAssignMessages?checkCondition=0"><span class="label label-success">查看已读消息</span></a>
</div>
</header>
<div class="main-box-body clearfix">
<div class="table-responsive">
<div class="dataTables_wrapper no-footer" id="table-example_wrapper"><div class="DTTT_container"><a id="ToolTables_table-example_0" class="DTTT_button DTTT_button_collection"></a></div><div class="clearfix"></div>
<table role="grid" id="table-example" class="table table-hover dataTable no-footer">
<thead>
<tr role="row">
<th aria-sort="ascending" aria-label="Name: activate to sort column ascending" style="width: 200px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting_asc">序号</th>
<th aria-label="Position: activate to sort column ascending" style="width: 269px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">课程和班级</th>
<th aria-label="Office: activate to sort column ascending" style="width: 123px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">教师</th>
<th aria-label="Age: activate to sort column ascending" style="width: 60px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">作业详情</th>
<th aria-label="Start date: activate to sort column ascending" style="width: 136px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">评分</th>
<th aria-label="Salary: activate to sort column ascending" style="width: 100px;" colspan="1" rowspan="1" aria-controls="table-example" tabindex="0" class="sorting">评语</th>
</tr>
</thead>
<tbody>


<s:iterator value="vas" id="vas" status="st">

<%-- <tr>
<td><strong>${st.index+1}</strong></td>
<td><strong><a href="message_assignDetails?assignmentid=<s:property value='assignmentid'/>"><s:property value="cname" /><s:property value="csn" />班</a></strong></td>
<td><strong><s:property value="teacher" /></strong></td>
<td><strong><s:property value="description" /></strong></td>
<td><strong><s:property value="score" /></strong></td>
<td><strong><s:property value="pingyu" /></strong></td>
</tr>
 --%>
<tr>
<td>${st.index+1}  
</td>
<td><a href="message_assignDetails?assignmentid=<s:property value='assignmentid'/>"><s:property value="cname"/><s:property value="csn" /></a></td>
<td><s:property value="teacher" /></td>
<td><s:property value="description" /></td>
<td><s:property value="score" /></td>
<td><s:property value="pingyu" />
<s:if test="#vas.status==1">
<span class="label label-warning">未读</span>
</s:if>
<s:else>
<span class="label label-success">已读</span>
</s:else>
</td>
</tr>

</s:iterator>



</tbody>
</table>
</div>
</div>
</div>
</div>

<script src="js/demo-skin-changer.js"></script>  
<script src="js/jquery.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/jquery.nanoscroller.min.js"></script>
<script src="js/demo.js"></script>  
 
<script src="js/jquery.dataTables.js"></script>
<script src="js/dataTables.fixedHeader.js"></script>
<script src="js/dataTables.tableTools.js"></script>
<script src="js/jquery.dataTables.bootstrap.js"></script>
 
<script src="js/scripts.js"></script>
<script src="js/pace.min.js"></script>
 


<script>
	$(document).ready(function() {
		var table = $('#table-example').dataTable({
			'info': false,
			'sDom': 'lTfr<"clearfix">tip',
			'oTableTools': {
	            'aButtons': [
	                {
	                    'sExtends':    'collection',
	                    'sButtonText': '<i ></i>&nbsp;&nbsp;&nbsp;<i ></i>',
	                    'aButtons':    [ 'csv', 'xls', 'pdf', 'copy', 'print' ]
	                }
	            ]
	        }
		});
		
	    //var tt = new $.fn.dataTable.TableTools( table );
		//$( tt.fnContainer() ).insertBefore('div.dataTables_wrapper');
		
		var tableFixed = $('#table-example-fixed').dataTable({
			'info': false,
			'pageLength': 50
		});
		
		new $.fn.dataTable.FixedHeader( tableFixed );
	});
	</script>

